Page({
  data: {
    title: '首页',
    show: true,
    showBlock: true,
  },
  changeTitle() {
    this.setData({
      title: '关于页'
    })
  },
  toggleShow() {
    this.setData({
      show: !this.data.show
    })
  },
  toggleShowBlock() {
    this.setData({
      showBlock: !this.data.showBlock
    })
  }
})